{% extends "homestudent.html" %}

{% block title %}Ongoing Exams{% endblock %}

{% block studentcontent %}
    <ul>
        {% for item in collection %}
            <li>
                <a class="takeExam" href="/StudentExam/{{item.exam.id}}">{{ item.exam.name }}</a>
                <p>{{ item.exam.description }}</p>
                <p>{{ item.exam.deadline }}</p>
                <p>{{ item.exam.author }}</p>
            </li>
        {% endfor %}
    </ul>
{% endblock %}